package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Role;

import java.util.List;

/**
 * TODO: 增加描述
 *
 * @author li.xh
 * @version 1.0.0
 * @date 2019-12-13 10:36
 * @copyright wonhigh.cn
 */
public interface RoleService {

    PageResult pageQuery(QueryPageBean queryPageBean);

    void deleteById(Integer id);

    void add(Role role, Integer[] permissionIds,Integer[] menuIds);

    Role findById(Integer id);

    void edit(Role role, Integer[] permissionIds, Integer[] menuIds);

    List<Role> findAll();

}
